import {observable, action, autorun, computed} from 'mobx'
export default class {
  @observable data = 0
  @action add() {
    this.data++
  }
  @action sub() {
    this.data--
  }
}
